package com.example.fireassistant_server.service;

import com.example.fireassistant_server.dto.PointSearchFilter;
import com.example.fireassistant_server.dto.polygon.PolyGonCreateRequest;
import com.example.fireassistant_server.dto.polygon.PolyGonDto;
import com.example.fireassistant_server.dto.polygon.PolyGonUpdateRequest;
import com.example.fireassistant_server.dto.polyline.PolyLineCreateRequest;
import com.example.fireassistant_server.entity.User;
import org.springframework.data.domain.Page;

import java.nio.channels.FileChannel;

public interface PolyGonService {
    PolyGonDto addGon(PolyGonCreateRequest polyGonCreateRequest, User user);

    PolyGonDto get(String id);

    void delete(String id);

    Page<PolyGonDto> search(PointSearchFilter pointSearchFilter);

    PolyGonDto update(String id, PolyGonUpdateRequest polyGonUpdateRequest);
}
